package com.silence.tool.excel.domain.input;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author silence
 * @email 792245022@qq.com
 * @create 2023-08-30 14:47
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Schema(name = "UnpivotInput", description = "Excel 反转行列实体对象")
public class UnpivotInput implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 文件源跟径
     */
    @Schema(description = "文件源跟径")
    @NotBlank(message = "文件源路径不能为空")
    private String sourceFilePath;

    /**
     * 文件目标跟径
     */
    @Schema(description = "文件目标跟径")
    private String targetFilePath;

    /**
     * 反转行数
     */
    @Schema(description = "反转行数")
    private Integer rowNum;

    /**
     * 反转列数
     */
    @Schema(description = "反转列数")
    private Integer colNum;

}
